#pragma once

#include "cocos2d.h"
#include "GameLayer.h"

using namespace cocos2d;

typedef enum {
	kHorizon = 1,
	kVertical = 2,
} enemyAct;

class GameEnemy: public cocos2d::CCSprite {

public:
	float speed;
	enemyAct act;
	CCArray *tileArray;
	int stepCount;
	CCSprite *moneyLabel;
	GameLayer *layer;

public:
	GameEnemy(void);
	~GameEnemy(void);
	
	void enemyMove(float f);
	void enemyKill();
	bool initAtPositionInLayer(CCPoint pos, GameLayer *layer);

	void removeEnemy();
};
